Crate sval_buffer

source
Expand description

Buffering support for sval.

This crate provides the ValueBuf type, which can buffer a flat stream of data into a tree of borrowed values.

Some functionality requires the alloc Cargo feature to be enabled. Rather than conditionally compile these methods, this library stubs out functionality when an allocator isn’t available.

Structs§

  • Buffer binary fragments into a single contiguous slice.
  • An error encountered buffering data.
  • Buffer text fragments into a single contiguous string.
  • An immutable buffered value.
  • Buffer arbitrary values into a tree-like structure.

Functions§